package com.phynos.web.manager.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.phynos.dal.model.User;
import com.phynos.web.manager.json.JsonResult;

public interface IUserService {

	JsonResult doLogin(
			HttpServletRequest req,
			String name,
			String password);
	
	String findRoles(String name);
	
	List<String> findPermissions(String name);
	
	User findByUsername(String name);
		
	JsonResult getUserInfo();
	
}
